package cn.bonoon.kernel.context.support;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.EmbeddedValueResolverAware;
import org.springframework.util.StringValueResolver;

import cn.bonoon.kernel.context.KernalApplicationContext;

public final class DefaultKernalApplicationContext implements KernalApplicationContext, ApplicationContextAware, EmbeddedValueResolverAware, InitializingBean{

	protected StringValueResolver resolver;
	protected ApplicationContext applicationContext;
	
	@Override
	public void setEmbeddedValueResolver(StringValueResolver resolver) {
		this.resolver = resolver;
	}

	public final void setApplicationContext(ApplicationContext context) throws BeansException {
		applicationContext = context;
	}

	@Override
	public void afterPropertiesSet() throws Exception {
		// TODO Auto-generated method stub
		
	}
	
}
